<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>Test per la Fiera</title>
	</head>

	<body>
		<h1>Formatta documento xhtml</h1>
		<p>Il documento contiene sia una scheda che un errore che una response, correggete il frammento per testare correttamente</p>
		<form action="http://ltw0807.web.cs.unibo.it/df/xhtml/format/document" method="POST">
			<input type="submit" name="test" /><br/>
			<textarea name="piadina" cols="100" rows="10"><![CDATA[
<df:formatta
	xmlns:df="http://vitali.web.cs.unibo.it/TechWeb08/SCHEMA/formatta_documento"
	xmlns:etw="http://ltw.web.cs.unibo.it/esempioErr"
	xmlns:ts="http://vitali.web.cs.unibo.it/TechWeb08/SCHEMA/tag_speciali"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://vitali.web.cs.unibo.it/twiki/pub/TechWeb08/SCHEMA/formatta_documento formatta_documento.xsd ">
	<info>
		<layout id="layout-2"/>
		<skin id="rucola"/>
	</info> 
	
	<dati>
		<scheda>
			<metadati>
				<work>

					<widentifier>0</widentifier>
					<wcreator>Gepporum Piscacchiorum</wcreator>
					<wcreator>sua madre</wcreator>
					<wcreator>sua sorella</wcreator>
					<wtitle>Lorem Ipsum</wtitle>
					<wdate>0707-04-03T01:01:01</wdate>
				</work>
				<expression>
					<eidentifier>http://ltw0807.web.cs.unibo.it/df/expression/lorem</eidentifier>

					<ecreator>Giacomo Ritucci</ecreator>
					<ecreator>Camillo Camomilli</ecreator>
					<ecreator>Truciolo NelCulido</ecreator>
					<edate>2008-05-31T01:01:01</edate>
					<edescription>
						La classica prova tipografica.
					</edescription>
					<elanguage>italiano</elanguage>
					<erelation></erelation>
					<esource>0</esource>

					<epublisher>http://ltw0807.web.cs.unibo.it/df/catalog.xml</epublisher>
					<esubject>
						<folksonomia>test</folksonomia>
						<folksonomia>prova</folksonomia>
					</esubject>
					<etitle>Lorem Ipsum</etitle>
					<etype>originale</etype>

				</expression>
			</metadati>

			<body>
				<p>
					Lorem ipsum dolor sit amet,
					consectetuer adipiscing elit. Ut
					fermentum.  Donec ac magna suscipit
					magna congue ultricies.  Aliquam erat
					volutpat.  Aenean pulvinar neque
					ornare lectus. Nullam convallis congue
					neque.  Sed id massa. Nam vitae sapien
					et sem euismod malesuada. Morbi
					dignissim iaculis mauris. Duis
					imperdiet, lorem in placerat suscipit,
					erat est pharetra quam, eget
					pellentesque odio orci et libero.
					Donec a ante. In mi orci, rhoncus in,
					mattis at, vehicula a, libero.  Fusce
					faucibus ante quis nisi.
				</p>
				<p>
					Maecenas vitae urna et urna fermentum
					convallis. Ut scelerisque arcu ut
					urna. Sed porttitor dignissim mi. Ut
					hendrerit ipsum ac massa. Aliquam erat
					volutpat. Quisque commodo dui quis
					nulla.  Proin auctor. Nunc id magna.
					Aliquam eget elit. Fusce luctus
					ligula. Aliquam malesuada ullamcorper
					arcu. Mauris enim nulla, convallis
					vitae, imperdiet vel, facilisis eget,
					tellus.  Sed condimentum. Sed vitae
					mauris. Vivamus scelerisque ligula sed
					lacus. Nulla facilisi.  Class aptent
					taciti sociosqu ad litora torquent per
					conubia nostra, per inceptos
					himenaeos. Nullam urna.  Nam aliquam
					fringilla nulla. Phasellus consequat,
					quam a pharetra viverra, odio tellus
					mattis diam, et venenatis felis est id
					purus.
				</p>
				<p>
					Proin semper facilisis erat. Maecenas
					auctor, nisi non placerat dapibus,
					felis purus varius odio, in elementum
					ipsum mauris in lacus. Vivamus
					vehicula. Vestibulum lacinia mollis
					lorem.  Cras elit elit, varius a,
					tincidunt eu, tempus at, eros. Sed
					dapibus leo eget tellus.  Praesent
					mauris est, volutpat eget, aliquam a,
					auctor quis, orci.  Nunc id est sit
					amet dolor sagittis sollicitudin.
					Vestibulum ante ipsum primis in
					faucibus orci luctus et ultrices
					posuere cubilia Curae; Suspendisse
					posuere.  Vestibulum arcu dui,
					vulputate ac, sollicitudin luctus,
					lobortis non, neque.  Nunc eu mauris
					ut eros consequat bibendum.  Vivamus
					fermentum magna. Nulla convallis
					tellus in elit.
				</p>
				<p>
					Vivamus massa. Aenean tristique ante
					sed arcu facilisis ultrices.  Donec
					nibh lorem, consequat eget, commodo
					pellentesque, dictum nec, leo. Cras
					sapien.  Nunc mollis elit quis turpis.
					Proin elit nisl, venenatis vitae,
					consectetuer eu, porttitor sit amet,
					felis. Nulla bibendum, nisi a pretium
					condimentum, justo quam fermentum
					nunc, quis lacinia dolor turpis id mi.
					Nullam et erat.  Quisque faucibus.
					Curabitur interdum accumsan sem.
				</p>
				<p> 
					Sed nibh. Sed ante tellus, adipiscing
					quis, tincidunt vehicula, hendrerit
					ac, quam.  Donec vulputate suscipit
					enim. Nunc ultrices ultrices risus.
					Vivamus tincidunt faucibus libero.
					Curabitur viverra, quam rutrum
					fringilla fermentum, nibh magna
					malesuada massa, varius luctus odio
					enim sed justo.  Morbi elementum,
					neque eget pulvinar vehicula, arcu
					augue accumsan justo, in egestas nunc
					metus eget lectus. In hac habitasse
					platea dictumst. Nulla et pede. Cras
					tellus nunc, auctor a, tristique ac,
					sagittis laoreet, arcu.  Pellentesque
					sem. Cras bibendum, sem sed ultrices
					pellentesque, tortor dolor fermentum
					nibh, ut consectetuer leo erat at
					sapien.  Vivamus eros purus,
					ullamcorper ut, lacinia at, fringilla
					nec, tortor.
				</p>
			</body>
		</scheda>

		<errore>
			<codice>666</codice>
			<descrizione>Il Data Source è posseduto dal demonio.</descrizione>
		</errore>

		<response query="http://ds.web.cs.unibo.it/search?bla=bu&amp;ok=no">
			<metadati>
				<work>

					<widentifier>0</widentifier>
					<wcreator>Gepporum Piscacchiorum</wcreator>
					<wcreator>sua madre</wcreator>
					<wcreator>sua sorella</wcreator>
					<wtitle>Lorem Ipsum</wtitle>
					<wdate>0707-04-03T01:01:01</wdate>
				</work>
				<expression>
					<eidentifier>http://ltw0807.web.cs.unibo.it/df/expression/lorem</eidentifier>

					<ecreator>Giacomo Ritucci</ecreator>
					<ecreator>Camillo Camomilli</ecreator>
					<ecreator>Truciolo NelCulido</ecreator>
					<edate>2008-05-31T01:01:01</edate>
					<edescription>
						La classica prova tipografica.
					</edescription>
					<elanguage>italiano</elanguage>
					<erelation></erelation>
					<esource>0</esource>

					<epublisher>http://ltw0807.web.cs.unibo.it/df/catalog.xml</epublisher>
					<esubject><folksonomia>test</folksonomia><folksonomia>prova</folksonomia>
					</esubject>
					<etitle>Lorem Ipsum</etitle>
					<etype>originale</etype>
				</expression>
			</metadati>
			<metadati>
				<work>

					<widentifier>1</widentifier>
					<wcreator>Gepporum Piscacchiorum</wcreator>
					<wcreator>sua madre</wcreator>
					<wcreator>sua sorella</wcreator>
					<wtitle>Lorem Ipsum</wtitle>
					<wdate>0707-04-03T01:01:01</wdate>
				</work>
				<expression>
					<eidentifier>http://ltw0807.web.cs.unibo.it/df/expression/lorem</eidentifier>

					<ecreator>Giacomo Ritucci</ecreator>
					<ecreator>Camillo Camomilli</ecreator>
					<ecreator>Truciolo NelCulido</ecreator>
					<edate>2008-05-31T01:01:01</edate>
					<edescription>
						La classica prova tipografica.
					</edescription>
					<elanguage>italiano</elanguage>
					<erelation></erelation>
					<esource>0</esource>

					<epublisher>http://ltw0807.web.cs.unibo.it/df/catalog.xml</epublisher>
					<esubject><folksonomia>tette</folksonomia><folksonomia>culi</folksonomia>
					</esubject>
					<etitle>Lorem Ipsum 2</etitle>
					<etype>risposta</etype>
				</expression>
			</metadati>
		</response>

		<speciali>
			<navigazione>
				<ul>
					<li>lettura</li>
					<li>scrittura</li>
					<li>aiuto</li>
					<li>ringraziamenti</li>
				</ul>
			</navigazione>
			<opzioni>
				<ul>
					<li><strong>Layout 1</strong>
						<ul>
							<li>skin 1</li>
							<li>skin 2</li>
						</ul>
					</li>
					<li><strong>Layout 2</strong>
						<ul>
							<li>skin 1</li>
							<li>skin 2</li>
							<li>skin 3</li>
						</ul>
					</li>
					<li><strong>Salva in <acronym title="Portable Document Format">PDF</acronym></strong>
						<ul>
							<li>skin 1</li>
							<li>skin 2</li>
						</ul>
					</li>
				</ul>
			</opzioni>
			<info-pagina>
				<p>
					Questo sito rispetta gli standard, i browser dovrebbero fare altrettanto.
				</p>
			</info-pagina>
		</speciali>
	</dati>
</df:formatta>]]></textarea>
		</form>


<h1>Formatta documento pdf</h1>
		<p>Il documento contiene sia una scheda che un errore che una response, correggete il frammento per testare correttamente</p>
		<form action="http://ltw0807.web.cs.unibo.it/df/pdf/format/document" method="POST">
			<input type="submit" name="test" /><br/>
			<textarea name="tigella" cols="100" rows="10"><![CDATA[
<df:formatta
	xmlns:df="http://vitali.web.cs.unibo.it/TechWeb08/SCHEMA/formatta_documento"
	xmlns:etw="http://ltw.web.cs.unibo.it/esempioErr"
	xmlns:ts="http://vitali.web.cs.unibo.it/TechWeb08/SCHEMA/tag_speciali"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://vitali.web.cs.unibo.it/twiki/pub/TechWeb08/SCHEMA/formatta_documento formatta_documento.xsd ">
	<info>
		<layout id="farcisci"/>
		<skin id="salame"/>
	</info> 
	
	<dati>
		<scheda>
			<metadati>
				<work>

					<widentifier>0</widentifier>
					<wcreator>Gepporum Piscacchiorum</wcreator>
					<wcreator>sua madre</wcreator>
					<wcreator>sua sorella</wcreator>
					<wtitle>Lorem Ipsum</wtitle>
					<wdate>0707-04-03T01:01:01</wdate>
				</work>
				<expression>
					<eidentifier>http://ltw0807.web.cs.unibo.it/df/expression/lorem</eidentifier>

					<ecreator>Giacomo Ritucci</ecreator>
					<ecreator>Camillo Camomilli</ecreator>
					<ecreator>Truciolo NelCulido</ecreator>
					<edate>2008-05-31T01:01:01</edate>
					<edescription>
						La classica prova tipografica.
					</edescription>
					<elanguage>italiano</elanguage>
					<erelation></erelation>
					<esource>0</esource>

					<epublisher>http://ltw0807.web.cs.unibo.it/df/catalog.xml</epublisher>
					<esubject>
						<folksonomia>test</folksonomia>
						<folksonomia>prova</folksonomia>
					</esubject>
					<etitle>Lorem Ipsum</etitle>
					<etype>originale</etype>

				</expression>
			</metadati>

			<body>
				<p>
					Lorem ipsum dolor sit amet,
					consectetuer adipiscing elit. Ut
					fermentum.  Donec ac magna suscipit
					magna congue ultricies.  Aliquam erat
					volutpat.  Aenean pulvinar neque
					ornare lectus. Nullam convallis congue
					neque.  Sed id massa. Nam vitae sapien
					et sem euismod malesuada. Morbi
					dignissim iaculis mauris. Duis
					imperdiet, lorem in placerat suscipit,
					erat est pharetra quam, eget
					pellentesque odio orci et libero.
					Donec a ante. In mi orci, rhoncus in,
					mattis at, vehicula a, libero.  Fusce
					faucibus ante quis nisi.
				</p>
				<p>
					Maecenas vitae urna et urna fermentum
					convallis. Ut scelerisque arcu ut
					urna. Sed porttitor dignissim mi. Ut
					hendrerit ipsum ac massa. Aliquam erat
					volutpat. Quisque commodo dui quis
					nulla.  Proin auctor. Nunc id magna.
					Aliquam eget elit. Fusce luctus
					ligula. Aliquam malesuada ullamcorper
					arcu. Mauris enim nulla, convallis
					vitae, imperdiet vel, facilisis eget,
					tellus.  Sed condimentum. Sed vitae
					mauris. Vivamus scelerisque ligula sed
					lacus. Nulla facilisi.  Class aptent
					taciti sociosqu ad litora torquent per
					conubia nostra, per inceptos
					himenaeos. Nullam urna.  Nam aliquam
					fringilla nulla. Phasellus consequat,
					quam a pharetra viverra, odio tellus
					mattis diam, et venenatis felis est id
					purus.
				</p>
				<p>
					Proin semper facilisis erat. Maecenas
					auctor, nisi non placerat dapibus,
					felis purus varius odio, in elementum
					ipsum mauris in lacus. Vivamus
					vehicula. Vestibulum lacinia mollis
					lorem.  Cras elit elit, varius a,
					tincidunt eu, tempus at, eros. Sed
					dapibus leo eget tellus.  Praesent
					mauris est, volutpat eget, aliquam a,
					auctor quis, orci.  Nunc id est sit
					amet dolor sagittis sollicitudin.
					Vestibulum ante ipsum primis in
					faucibus orci luctus et ultrices
					posuere cubilia Curae; Suspendisse
					posuere.  Vestibulum arcu dui,
					vulputate ac, sollicitudin luctus,
					lobortis non, neque.  Nunc eu mauris
					ut eros consequat bibendum.  Vivamus
					fermentum magna. Nulla convallis
					tellus in elit.
				</p>
				<p>
					Vivamus massa. Aenean tristique ante
					sed arcu facilisis ultrices.  Donec
					nibh lorem, consequat eget, commodo
					pellentesque, dictum nec, leo. Cras
					sapien.  Nunc mollis elit quis turpis.
					Proin elit nisl, venenatis vitae,
					consectetuer eu, porttitor sit amet,
					felis. Nulla bibendum, nisi a pretium
					condimentum, justo quam fermentum
					nunc, quis lacinia dolor turpis id mi.
					Nullam et erat.  Quisque faucibus.
					Curabitur interdum accumsan sem.
				</p>
				<p> 
					Sed nibh. Sed ante tellus, adipiscing
					quis, tincidunt vehicula, hendrerit
					ac, quam.  Donec vulputate suscipit
					enim. Nunc ultrices ultrices risus.
					Vivamus tincidunt faucibus libero.
					Curabitur viverra, quam rutrum
					fringilla fermentum, nibh magna
					malesuada massa, varius luctus odio
					enim sed justo.  Morbi elementum,
					neque eget pulvinar vehicula, arcu
					augue accumsan justo, in egestas nunc
					metus eget lectus. In hac habitasse
					platea dictumst. Nulla et pede. Cras
					tellus nunc, auctor a, tristique ac,
					sagittis laoreet, arcu.  Pellentesque
					sem. Cras bibendum, sem sed ultrices
					pellentesque, tortor dolor fermentum
					nibh, ut consectetuer leo erat at
					sapien.  Vivamus eros purus,
					ullamcorper ut, lacinia at, fringilla
					nec, tortor.
				</p>
			</body>
		</scheda>
		</dati>
</df:formatta>]]>
</textarea>
</form>

		<h1>Formatta frammento</h1>
		<form
			action="http://ltw0807.web.cs.unibo.it/df/xhtml/format/fragment" method="POST">
			<input type="submit" name="test" /><br/>
			<textarea name="piadina" cols="100" rows="10"/>
		</form>





		<h1>Salva scheda</h1>
		<p>Testate le wildcard <a href="http://vitali.web.cs.unibo.it/cgi-bin/twiki/bin/viewauth/TechWeb08/LTW09DSDoc">Qui c`e` la doc</a> Modificate i campi ecc ecc</p>
		<form
			action="http://ltw0807.web.cs.unibo.it/ds/save" method="POST">
			<input type="submit" name="test" /><br/>
			<textarea name="scheda" cols="100" rows="10"><![CDATA[<ds:scheda xmlns:ds="http://ltw.web.cs.unibo.it/esempio" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ltw.web.cs.unibo.it/esempio http://vitali.web.cs.unibo.it/twiki/pub/TechWeb08/PagSchemaDS/schedaSchema.xsd">
	<metadati>
		<work>
			<widentifier></widentifier>
			<wcreator></wcreator>
			<wcoverage></wcoverage>
			<wtitle>0</wtitle>
			<wdate>2001-01-01T01:01:01</wdate>
		</work>
		<expression>
			<eidentifier>NEW</eidentifier>
			<ecreator></ecreator>
			<edate>2001-01-01T01:01:01</edate>
			<edescription></edescription>
			<elanguage></elanguage>
			<erelation></erelation>
			<esource></esource>
			<epublisher></epublisher>
			<esubject>
				<folksonomia></folksonomia>
				<folksonomia></folksonomia>
				<folksonomia></folksonomia>
			</esubject>
			<etitle></etitle>
			<etype></etype>
		</expression>
	</metadati>
	<body></body>
</ds:scheda>]]></textarea>
		</form>

	</body>
</html>
